package com.mpyy.pojo;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import lombok.*;
/**
* menmber_info 实体类
* Wed Feb 23 09:47:17 CST 2022 tangneng
*/ 
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class MenmberInfo{

	private String menId;

	private String menName;

	private Double menPoint;

	private String menTypeId;

	private Double menCustPrice;

	private Integer menCustNum;

	private Double menPointBalance;

	private Double menCardBalance;

	private String menStatus;

	private String menPointUpgrade;

	private String menPreferential;

	private Date menStartDate;

	private Date menFinalDate;

	private String menPass;

	private String menPhone;

	//会员级别类型
	private MenmberTypeld menmberTypeld;

	SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
	public void setMenStartDate(String menStartDate){
		try {
			this.menStartDate = simpleDateFormat.parse(menStartDate);
		} catch (ParseException e) {
			e.printStackTrace();
		}
	}
	public void setMenFinalDate(String menFinalDate){
		try {
			this.menFinalDate = simpleDateFormat.parse(menFinalDate);
		} catch (ParseException e) {
			e.printStackTrace();
		}
	}
}

